import cv2
import numpy as np

filename1 = r'C:\Users\Administrator\Desktop\chessboard.png'
filename2 = r'C:\Users\Administrator\Desktop\building.jpg'
image11 = cv2.imread(filename1)
image2 = cv2.imread(filename2)
image1= cv2.resize(image11,(int(image11.shape[1]/8),int(image11.shape[0]/8)))

orb = cv2.ORB_create()
kp1 = orb.detect(image1, None)
kp2 = orb.detect(image2, None)

kp1, des1 = orb.compute(image1, kp1)
kp2, des2 = orb.compute(image2, kp2)

image1 = cv2.drawKeypoints(image1,kp1,image1,color=(0,0,255), flags=0)
image2 = cv2.drawKeypoints(image2,kp2,image2,color=(0,0,255), flags=0)

cv2.imshow('ORB chessboard',image1)
cv2.imshow('ORB building',image2)

cv2.waitKey(0)
cv2.destroyAllWindows()